do a sum by proportion

按比例計算